# User List

Privilege: GetPrivileges(true, false); foreach ($PrivList as $Id => $PrivName) { $PrivList[$Id] = preg_replace("/ Administrator/", " Admin", $PrivList[$Id]); $PrivList[$Id] = preg_replace( "/Can Post Resource Comments/", "Can Post Comments", $PrivList[$Id] ); } $PrivList = [-1 => "--"] + $PrivList; $OptList = new HtmlOptionList( "F_Privilege", $PrivList, StdLib::getFormValue("F_Privilege") ); $OptList->SubmitOnChange(true); $OptList->PrintHtml(); ?> Search: "(any field)", "UserName" => "User", "EMail" => "Email", "RealName" => "Real Name", "Address" => "Address", "State" => "State", "ZipCode" => "Zip Code", "Country" => "Country", "LastLoginDate" => "Last Login Date", "CreationDate" => "Signup Date", ]; $OptList = new HtmlOptionList("F_Field", $FieldList, StdLib::getFormValue("F_Field")); $OptList->PrintHtml(); print "\n"; $ConditionList = [ "contains" => "contains", "equals" => "equals", "is before" => "is before", "is after" => "is after", ]; $OptList = new HtmlOptionList( "F_Condition", $ConditionList, StdLib::getFormValue("F_Condition") ); $OptList->PrintHtml(); ?> "/>
GO

Select | User | Email | Signup Date | Last Login |
--- | --- | --- | --- | --- | ---
$UserObj) { $SignupDate = StdLib::getPrettyTimestamp( $UserObj->Get("CreationDate"), true, "(unknown)", false ); $LastLogin = StdLib::getPrettyTimestamp( $UserObj->Get("LastLoginDate"), true, "(never logged in)", false ); $SafeUserId = defaulthtmlentities($UserObj->Id()); ?>
Id()) { print 'disabled="disabled"'; } ?> /> | Get("UserName"); ?> | Get("EMail"); ?> |  |  | edit
(no users were found that met the specified criteria)

baseLink($BaseLinkWithSearchParams); $H_TransportUI->message("Users " .number_format(min( ($H_TransportUI->StartingIndex() + 1), $G_TotalItems )) ." - " .number_format(min( ($H_TransportUI->StartingIndex() + $H_ItemsPerPage), $G_TotalItems )) ." of ".number_format($G_TotalItems).""); $H_TransportUI->display(); ?>